<?php

namespace api;

use think\facade\Db;
use think\facade\Request;

/**
 * 缴费100【璐付】
 * 
 * http://jiaofei100.com/open/jiaofei100api.html
 * https://open.lupay.cn/
 */
class Xiaoju
{
    private $apiId = '';
    private $apiKey = '';
    private $url = 'http://open.jiaofei100.com';

    public function __construct()
    {

    }

    /**
     * 视频充值接口
     */
    public function payVideo()
    {
        $url = $this->url . '/Api/PayVideo.aspx';
        $params = [
            'APIID' => $this->apiId,
            'Account' => '',
            'ProductCode' => '',
            'BuyNum' => '1',
            'OrderID' => '1',
            'CreateTime' => date('YmdHis'),
            'IsCallBack' => 1,
            'CallBack' => '',
        ];
    }

    /**
     * 生成签名
     */
    public function getSign()
    {

    }
}
